home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
Columbia Kermit
/
kermit.zip
/
newsgroups
/
misc.20030409-20031118
/
000411_anthonypieper@cs.com_Wed Nov 12 13:40:43 2003.msg
< prev
next >
Wrap
Internet Message Format
|
2020-01-01
|
3KB
Path: newsmaster.cc.columbia.edu!panix!newsfeed.mathworks.com!news.maxwell.syr.edu!postnews1.google.com!not-for-mail
From: anthonypieper@cs.com (newexpectuser)
Newsgroups: comp.protocols.kermit.misc
Subject: Re: Problem with Kermit spawned from Expect script sending files
Date: 12 Nov 2003 04:55:51 -0800
Organization: http://groups.google.com
Lines: 39
Message-ID: <f0bb0f39.0311120455.1c76a37c@posting.google.com>
References: <f0bb0f39.0311061216.1ba040a0@posting.google.com> <f0bb0f39.0311070527.6ce76ffc@posting.google.com> <slrnbqnbfm.380.fdc@sesame.cc.columbia.edu> <f0bb0f39.0311070946.62574f98@posting.google.com> <slrnbqns98.69r.fdc@sesame.cc.columbia.edu> <slrnbqnsgg.856.fdc@sesame.cc.columbia.edu> <f0bb0f39.0311100537.7a4d4faf@posting.google.com> <3fafafd0$1@yorrell.saard.net> <f0bb0f39.0311110437.62628a03@posting.google.com> <slrnbr22no.dhj.fdc@sesame.cc.columbia.edu>
NNTP-Posting-Host: 209.251.39.194
Content-Type: text/plain; charset=ISO-8859-1
Content-Transfer-Encoding: 8bit
X-Trace: posting.google.com 1068641751 32318 127.0.0.1 (12 Nov 2003 12:55:51 GMT)
X-Complaints-To: groups-abuse@google.com
NNTP-Posting-Date: Wed, 12 Nov 2003 12:55:51 +0000 (UTC)
Xref: newsmaster.cc.columbia.edu comp.protocols.kermit.misc:14667
I tried the RDIR command, yet it still gave me the local directory
listing, not the one off the remote server.
Frank da Cruz <fdc@columbia.edu> wrote in message news:<slrnbr22no.dhj.fdc@sesame.cc.columbia.edu>...
> In article <f0bb0f39.0311110437.62628a03@posting.google.com>,
> newexpectuser wrote:
> : Arthur Marsh <arthur.marsh@internode.on.net>
> : wrote in message news:<3fafafd0$1@yorrell.saard.net>...
> :> newexpectuser wrote:
> :> try using REMOTE DIRECTORY or its shortened form, RDIR
> :
> : I tried the RDIR and then a ls command to make sure i was in the
> : remote directory, but I got the local directory listing, unless my ls
> : command only shows the local directory ?..I am also running this first
> : from a command line in Unix using ./script.sh.
> :
> RDIR, LS, and DIRECTORY are three different commands. Each one does a
> different thing. Only RDIR requests a directory listing from the remote
> server.
>
> In a file transfer and management system such as Kermit (or, for that
> matter, FTP) there needs to be a way to refer to both local and remote
> files. By default, unprefixed commands such as DELETE, DIRECTORY, RENAME,
> etc, refer to local files. If you prefix them with the word REMOTE, or
> use the R-shortcuts (RDEL, RDIR, RREN, etc), they apply to remote files.
>
> For completeness and symmetry, there are also L-shortcuts to force reference
> to local files: LDEL, LDIR, LREN, etc.
>
> You can even have Kermit change the default for unprefixed commands; for
> example, to make it act like FTP:
>
> SET LOCUS REMOTE
>
> Then unprefixed file management commands refer to remote files. For more
> about this, see:
>
> http://www.columbia.edu/kermit/ckermit80.html#x3.4
>
> - Frank